Work in progress selection
Fixed a bug
Changed game loop to support working selection process