add minHeight parameter to winstate.js to prevent vertical collapsing
disable caching side effect in check of twisterd running
additional check that window is not empty