Main picture methods added.
Main picture methods added.

+ Main pic returned
+ Main pic saved if no other pics
+ Added patch method
+ removeMain - resets main_pic

AppStateESS/properties,AppStateESS/properties,AppStateESS/properties,AppStateESS/properties