image optimisation, removed whitespace and other misc