more fixes for opengui