Enabled stylesheet entry sorting when generating HTML for HEAD section. Now it should use priority.
Modified gallery widget template to use DIV instead of UL and LI since it caused glitches in some cases when gallery is inserted into content area.
Modified gallery widget styles to use dark style as default so it would be easier to override them if widget's style is not specified while rendering.
Fixed bug in gallery widget with preview image not showing up when startIndex parameter is invalid.
Added a jQuery event to gallery widget (pc.widgets.gallery.imagechanged) that is triggered on root gallery element when image changes.