First revision of the lineOpening and CheckLineThing functions.

git-svn-id: http://mancubus.net/svn/hosted/eternity/branches/portal-branch@2633 86ba831e-150c-0410-ab35-e06eaae15ed9