only need size of Drawing Surface. Added comments
use WindowBounds for sizing
use WindowBounds for sizing
added ignore C++ warning 4251
updated template file