Reverted changes to io/mouse.cpp because they weren't necessary. Small improvements...