width and height gflags, and fix silly frame-rep bug from last commit
Merge pull request #2 from keroserene/master

meow