The "tray wont stay open" bug is normally caused by drivers or software in the background constantly trying to access the drive.
It may be anything from packet writing programs, CD-emulators to IDE drivers causing this.
The other problem may be caused by the writing program or by IDE drivers.
What chipset do your mainboard have? and what IDE drivers are you using?