Asserts
Better process killing
Better exiting
Celanup of terminating code