fix memory leak, remove debug stuff
add touch stuff
fix permissions
attempt to fix broken events, didn't seem to work