minor fixes in gui and setup