Changes to getMousePos(incomplete), and added randomNum.