more refactoring
removed mouse support
mission impossible. starting from scratch.