* Clean up hard-coded DB queries
* Move some messages to the i18n file
* Set a global for the whitelist instead of a hard-coded url
* Indention
* Change the whitelist
remove spurious reference to targetuser
style updates, whitelist global