moved some events / cleaned up code
xcode config file commit...