Made changes to getParams and such -- now there's multiple windows