implemented enabling / disabling of loaded modules at runtime, refs #40
shutting down spectrum worker thread correctly