Code clean up in some core editor classes. Remove unused using statements. Remove unneeded qualifications including this. Remove some dead code. Tweak a few error messages. Ensure errors are being logged correctly. Some of this has been bugging me for a while, so I just decided to clean it up a bit.