gui: fix compiler warnings