shifted and edited constants in UI

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