integrate proxy with gui properly