Logging fixes :)

1. Make console output optional
2. Set log level via prefs file
3. Log each level to a distinct file so that things are better organized