small texture-related tweaks
always measure time difference for speed calculations
add switch for keyboard events