added 480p as quality

various code improvements