Fixed bugs in the parser and the preview text box.

From: Ark <aaku@users.sourceforge.net>

git-svn-id: svn+ssh://svn.code.sf.net/p/mcomix/code@824 ef8490bc-f317-4725-81ed-e95a9aca1bcf