Further replacement of printf through internal output. Rename Mouse constants.