more open/close/read/write consolidation
cleanup
implemented 2 drawer detection methods for USB and RS232, autoselected
ready for porting to windows
scale support and cash drawer close detection support for Windows
purge logfile at startup for Windows