Issue by joshuaw: added curly braces around all tables where they were missing to more fully support prefixed table installations.