Added autoSize/fitImage/centerImage options

autoSize window to parent
fitImage proportional in parent
centerImage in parent