Shortened template for pseudo_column
Experiments with some types
Removed some debug code
Fixed a bunch of bugs that came up when integrating with mySQL again.

Thanks Matthijs!
Cleaned a bit of messy _run() code.