date time screwery

made things cleaner, gearing up for the actual graph drawing portion of
the code. ui controls mostly in place