Added keyboard and mouse interactivity.