This might or might not be related, but the last time Maya broke on me was, indeed, because of a custom tool messing up environment variables. In my case it was Dota2/Source related stuff screwing up the Python paths, and it affected various areas of the program (viewport behavior, file/save dialogs and so on). It's bit of…