Attempt at multi-pattern storage
Bugfix: don't restore baud rate on close, to allow the tape to actually reset.
Move uploaddata function into own class, fix pattern address bug, clean all compiler warnings