Replaced sleep with Timer - better performance. Added map selector.