Renames some variables to be a bit less ambiguous. Adds returns where needed. removes unnecessary break. Cleans up comments. Consistency consistency consistency.