Remove the hidden layers from output svg.  remove sodipodi named view from output svg.  added -trim option to imagemagick command.