Export previewImages to XML/JSON
Only generate previewImage if previewMedia is not already an image.
Made sure previewImage gets exported.

Removed an unused option.
Fixed some cases of missing widget properties.
Applied conversion to the next verison.

Conflicts:
	main/src/resources/build