Moar fixes to the ddl, a better funds checker