whoops more stuff
adding prototypes for missing functions
fixed acceptLines calls