Created a get_program_dir function to allow for grabbing the script's current directory even after being compiled with cx_freeze.
Moved secret key to config file.
Now using an absolute-ish path for the SQLite file, in order to play nice with (you guessed it) cx_freeze.
Now using an absolute-ish path for the config.json file, in order to play nicely with cx_freeze.