Minor; use mapM instead of sequence map.
Send exception message to stderr and use lazy maps.
Fixed blocked MVar problem by not forking processLine.
Removed thread time parameter.
Use forkIO for sentence reply, testing but seems to work okay.
Use hPutStr and send messages to correct output.