Widgets resize depending on window size
Only try print stderr if it is not empty