Input overhaul - mouse lock, mousemove disabled when not in use, partial touch support, improved Webkit compatibility