cleaned up GNUexample

and a little progress on main