Optimize firstliney() to: * Not open the file unless necessary * Not close the file once opened
Optimize firstliney() to:
* Not open the file unless necessary
* Not close the file once opened

Also made it warn to the screen if the sysread fails.

petdance/ack3,petdance/ack3,petdance/ack3,petdance/ack3,petdance/ack3,petdance/ack3,petdance/ack3,petdance/ack3