Reworked PhotoWidget. Rethinking template inheritance/mixin strategy