Also refresh repository fragment when refresh is triggered.
Fix blog avatar handling.
Don't crash if avatar couldn't be decoded for whatever reason.
Merge pull request #159 from maniac103/for-upstream

More fixes