Changed a fundamental way displaying a picture works, instead of using an IMG tag which is severely limited in capability I use CSS background-url properties on dials instead.

Also added the logic on how to add new JSON entries with cleaning out empty URL key's in the JSON object so it is self-managing.
Also added two utility functions for getting and setting JSON objects.