change window title and add error check
Merge branch 'master' of ssh://marina.sys.wakayama-u.ac.jp/~tokoi/git/ggsample02
initialize window parameters at the constructor of the window object