added window query render functions

ui module feeds data to ui_state and at certain times
asks window module to render the current ui_state