update gg.h/gg.cpp
fix the reference counter's bug
set the window title through the argument of the init()
update gg.h/gg.cpp
update gg.h/gg.cpp
update gg.h