[mouse] more mouse support and other fixes