Updated setup window to ARC. Improved deregistering view controllers when closed.