make most gui stuff rdy for different apis