improved catline / linex, added more functions and proper error messages in
case of wrong user input
added some stuff here, there should be error messages for most everything now