small bugs fixed, GSN class example is working.