updates to InputThread and Line
Merge branch 'master' of https://github.com/rizwannoorani/kwicwebsite