splitting into separate files per function to make mocking and testing easier
fixed close action
added ability to set event listeners by name rather than by direct reference
changed border colour
fixed bug in string syntax code