Forked from http://sequel-pro.googlecode.com/svn/trunk/