fix broken profiler; add explicit UNLOCK, as COMMIT does _not_ unlock tables