Merge pull request #181 from greboid/tidying

Some tidying + testing in Time plugin.
Merge pull request #182 from greboid/tidying

Add TimerCommandTest.
Fix client not working on GTK.