moved keyset out of modelconstructor due to horrible performance
changed rowlayout to gridlayout in editwindow