Fixed - basically working:

Todo:

- flesh out types a bit more (will know more when i do the python/gtk side)
- any error handling i missed
- cleanup when an applet is removed (delete all instance files, etc..)