More fixes to the logger and reverting sqlstatements.txt.
Merge branch 'master' of https://github.com/uiucseclab/MagBastard