Redesigned interactive input. Have to solve some performance problems.