added application launch icon
cleaned up the code a bit for submission