Moved main outside html file, changed default resolution