Made a simple logger which creates a .log file
Removed some more erroneous comments
Fixed a few small bugs