UI & Simple Code adjustments

Adjusted UI to reflect future functionality and a new design
altogether, fixed code to remove annoying errors due to unset
variables, consolidated database settings/error reporting, changed file
names to better suit their purposes.