clean up
WiSpy now works
Correctly close file handlers in ApplicationLogger.java