If you give your application window an 'id', it will remember the size, position, as well as whether dev tools was open when last launched.
i.e.:
chrome.app.window.create('index.html', {
width: w,
height: h,
id: 'MyAppId' // add this
}, onWindowCreate);
I find this makes application development a lot easier!