started ugeom2d to hold 2d graphics stuff
ui: various small cleanups.

- switched to delphi syntax
- ZInput.Create(TComponent)
- colorxy->cw.cxy
- removed junk 'frst' variable
- unsmudge ZInput after drawing.