added serial port I/O exceptions handling; added plot settings