Compaction

adds autocompaction because the db where I've been running this for a while is now up to 1.2 gigs
thank you, I knew I put that bug in there.