Fixed filenames in comment headers
Added resize check to ui module
Removed log function to log.c
Default to INFO when creating log
Refactored getting boolean preferences
Refactored setting boolean preferences
Refactored string preferences