fix crasher bug when new functionality is actually used
Allow retrieving commit time+data in a single function

Also add SQL-callable accessors to the extra data