fixed library issues.
Merge pull request #100 from jkuk/master

wee woo
fixed up event manager a lil bit