fixed G0
misc fixes; improved expert mode