added in keyboard and text behavior, fixed bugs, added in adrian's segue