Moved Speech Detection stuff below chatbox