14 July 2008
Added more detail to MySQL errors. Fixed bug with the custom code system, which caused custom install code to be run for upgrades.