Added Diagnostic window and some tidyup
Changed menu to to toggle show/hide status window
Fixed bugs with reader unplugged when launched
Fixed not logging when card removed
improved include file structure