squashed more small bugs in gui