various bugfixes

1. lazy-load merkle root from db
1. read ctime out of sig body from merkle root
1. fix DB nuking