fixed forward declarations.  previously done as "class", now "struct" as it should be.