Serial Monitor and broken or repeated text

It will greatly help if you posted your code. Please post it between
** **[code]** **
and
** **[/code]** **
, the so called code tags.

If it's more than 9000 characters, you can attach it to a reply.