replaced recursive 'switchPlayer' with a non-recursive one
added application icon