Fixed IsInGuild, simplified some stuff

Note: channl join popup needs to inherit Dialog, not PopupWindow, no idea what i was doing