use imageEntity as property instead of imageId
fix LayoutManager to not have the serializable class on the wrong time
fix main sets the revision to default on saving (after hitting preview bug)