Add THEMEDB_TABLE to constants

Taken from the FTP.
cleanup

mostly whitespace