fixed the stupid invalid free error... turns out the old desktop query wasn't 0 indexed >.< anyways, removed that, as well as the config options: DESKTOP-ZINDEX, DESKTOP-QUERY and the other desktop one