init push
rewrite of gui.pl to be much cleaner than previous script