Config Files and Fixes

- Config files are now created when they do not exist yet with basic
settings.
- Fixed the fact that MySQL arrays were never instantiated.
- Certain errors on startup now simply close the application since they
are fatal.