Fix db encoding
Header bottom border
Add migrate images function (may be used once more)