put thumbnail in proper proportion.
other formatting fixes.