finished mouse click handling, added array, gameSpaces, for handling image display state