updated docs and exception handling
added process exiting to polonium