adding mouse support, ~3/4 complete.