using gameobj.id instead of selectIndex
added delete key functionality, that replaces the old right click button