This really is the last of the jboss dependencies. Added sysevents logger,monitor and genkeys to main engine start up.

Added some shut down code that might improve redeployment - probably still some work though.