Websockets working, no longer leaking threads. WebServer has been modified to use OutputStreamWriter rather than PrintStream
Websockets working, no longer leaking threads. WebServer has been modified to use OutputStreamWriter rather than PrintStream. Added more variables to the websocket stream, and selectable autonomous.
Added code to support selectable autonomous, removed old webserver, refactored WebServerClean to WebServer.

Changed FileIO to be blocking, (need to implement timeout on fileio If you haven't read the file after like 5 seconds, you're probably not going to be reading the file. This could be good or bad. Currently, no matter how the thread exits, it should always SOMEHOW set the reading flat to false. We should not have any problems)

Increased speed of FileIO by using a byte buffer to read the data into. If files are small, (2048k<) the entire file could be read in a single access.

TODO still:
Make buffer size accessable through web interface.
Make Debug websocket. (Optional)
same as last commit. This is to fix netbeans crappy commit support. Files were not removed.