Updated build system to Gradle
Made various changes. Now mostly works just need to kill writer thread when done with it.
Converted file reader to extend Thread instead of Runnable
Restore SocketAppender to extend Thread
Bonus: it seems to work at this stage even if it isn't pretty
Terminate other threads when closing logger
Tidy up some code
Work in progress on refactoring