overhaul
reordered functions to be more intuitive
reorganize
overhaul #2 (Visual Studio is awesome)
new handlers
modify manual handler
mutation observer
optimized and commented

is stable now, but for some reason the mutation observer isn't reliable.
I've also tried the mutation events :(