Comment out ObjectScript usage

ObjectScript is not included in the CMakeLists.txt, so I'm
commenting use of ObjectScript under the assumption that this was
originally part of a test.
Add vim .swp files to .gitignore
Ignore ctags tags files
Change EventLoop to use switch statements instead of a long if-else tree

It looks neater this way.