Added primitive mouse support, fixed some protocol errors