Fixed "binding transaction failed" events, cleaned up code...
Added time measurement capability, writes to CatLog at the end.