Mode cosmetics.
Code cleanup
Fix initial size on WP8 with IE10