fix pistats
fix keys
fix key bindings in js
switch the images
fix event registration