Re-added accidental deletion

`self.alertWindow.rootViewController = nil` was accidentally deleted,
and has been re-added.
Fixed some minor formatting differences.