Add OSX workaround for not respecting the resize property for WebDialogs.
Added text alignment support for Label controls.
Fixed a couple of typos in typecheck.rb.