event update and delete now working. user can now manually enter date
started some refactoring of control-panel function logic