shifted and edited constants in UI

-shifted constants in UI to tkLibrary.Constants
-edited some constants for grammar
updated logicTest

-added constant for editing
-modified logic for edit
-updated logicTest for edit