Added URL and width input boxes and basic error handling