add tidy.py + -D warnings and cleanup.. also start work for SpriteUxDialog