Added date controls. Can read/write date now. Cleaned up UI and code