Support for resizing window when API link used

API link is typically in the format
"http://125.6.189.71/kcs/mainD2.swf?api_token=XXX" and is typically put
in KanColleViewer.exe.config as KanColleUrl
Fix for screenshots when using API link
Merge branch 'master' of git://github.com/Guy-kun/KanColleViewer into Guy-kun-master
cod formatting.