tune window sizes
get $flag_editable logic right (?)