const correctness
cleanup
fix isMousePressed bug