Add download rate to media progress bar (non http mode only!)
Minor coding style fixes
Add proper lua api deprecated handling