Removed 'open tty function' from the 'To Do' list and added/modified a couple entries in 'Potential Problems'
Fixed as many memory leaks as possible and added the 'open tty' function