WIP - added inotify, implemented most options & fixed some bugs
WIP - The code now also compiles in GTK2. Has a lot of bugs though.