Performance optimizations

Cleaned up code
Icons loop only runs if player is in a group
Map markers moved to separate slower loop, only updated if map is open
Group management dialog stops refreshing even if exited by pressing
escape
Fixed map marker showing last known position after group member leaves
Fixed error in leaveGroup.sqf