ability to dynamically resize windows
fixed resizing, added lua callback