Removed some lines left from debugging, can accomodate different types of webcams at different resolutions now