Fixed category hierarchy editing functionality. Added time string representation. Added documentation. Cleanups.