Added selecting function to MapEditor. The selected cannot be edited yet though, only deleted.