improve logging. improve plugin loading sequence. alarm setup did not work, some changes, may work now