Fixed a bug in Dialog where the spinner would not get cleaned up correctly when a dialog is shown without calling hide. Improved align center and valign middle so that values are rounded off. Fixed a bug in getSiblingViews where the subviews array was being direclty modified.