use raf
emit more events, style changes, fix makefile
bump version