integrating polonium with gui