Removed warnings. Mostly just unused imports, but also changed some
references to TextWriter colors to the static version