Refactored to use properties instead of ivars

Set `self.alertWindow` to hidden prior to removing from superview
Re-added accidental deletion

`self.alertWindow.rootViewController = nil` was accidentally deleted,
and has been re-added.
Fixed some minor formatting differences.
Merge pull request #33 from forgot/master

Refactored to use properties instead of ivars, and hide alertWindow when dismissing