Doug/thread experiment

Increasing max history size to 30000, making cull history threaded.
Added ORDER BY ASC