serial port can now be closed and reopened
Improved safety

+more events
Added todo