Add RESIZE_DBG_INFO macro to control debug information about resizing
UI minor fix: center the caption
Add retina hacks