Finished new socket-based TTY I/O. Switched over to new semaphore-based locking system.
New sl_list and sl_info structures.