Remove an unnecessary part of the code and fix a bug

* Now accounts only once for special lines before any text lines are
present
* Every time a new text line is processed the list of previous ones is
flushed to the main message list, prevents applying special actions to
previous text lines.
* Commit .project file for easier setup on other computers.