added middlemouse debug flag to remove it from the standard build
added SYS files to ignore
removed middle click functionality
fixing merge issues