Cleaned up the speaking logic, removed redundant code and fixed comments a bit.