Forgotten editing for previous commit.
Moved drawing functions from ItemWindow to IWManager. Cleaned up.