Gnome applet refactoring

Signed-off-by: Rob Caelers <rob.caelers@gmail.com>