Mousepoll code cleanup:
Removed the unused variables MP_OPTION_MOUSE_POLL_INTERVAL
and MP_OPTION_NUM.
Declaration and assignment of variables in one line.
Added and removed newlines.
Removed redundant brackets.
Fixed indentation.
Approved by PS Jenkins bot, Sam Spilsbury.