added counters for init and shutdown, added uncaught exceptions
version 0.0.11