Made GetCaptureHeight/Width static and added event handler for AtmoWin to change these dimensions