Split RunningModule from AbstractModule so that hook-only modules do not
need to implement run, resume, pause, and stop.
Fixed issue with using multiple classloaders for loading modules.
Fixed hanging issue when quitting.