Added parameter handling, added error box, improved and modified upload handling, display progress bar, etc.