major improvements

-removed "Locker.started" variable
-Locker.transactStart() and Locker.transactEnd() replaced with Locker.transact()
-extended onSystemFailure to onSystemFailureBase and OnCriticalError
-a lot of improvements to locking