Use "is" not != for None comparisons.
Removing IDE things. Too cluttered.