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
Fixed crash on receiving dataform
Added debugging to presence and iq handlers
Added error.txt to .gitignore
Send entity capabilities and status when joining room
Merge branch 'master' into resource