Qualify references to temporary tables
Remove a ton of unwanted whitespace