Bug fix

Previous build sent too many lines to interpreter when the next line
after a polygon assignment was not draw. Added function containsCommand
to detect if a string has a command in it.