style edits

docstrings
ready_to_end -> endtime