Use buffered queries
Fixed a few things, and added primer to autorun under cron (Unless it's APC)