Updated the LogWriter and it's unit test.
Fixed bugs in CRIOTcp.java.
Updated the wavetank.js and .phtml files for better functionality.