insert area in gui_state in generate_block, don't pass in currently selected panel, instead get from gui_state itself