Merge pull request #20 from mariusoe/master

PullRequest
Agent keeps state whether monitoring is active.

Minor fixes in the UI