Convert CONSTANTS to CONFIG. Closes troopjs/troopjs-core#146

Fix small issue with a runnaway `debugger` statement.