Changed beforeWork/afterWork into workWrapper

Also, removed default exception handler. It was too inflexible.
Removed TextHelper