GUI portability fixes