wow, I didn't realize you were coughing that much. you should get checked out for whooping cough: Pertussis. that is what my friend Jonathan had. he had sore ribs as well and actually fell one time from coughing and broke his orbital bone. he had a cough for a long time. finally when they took him into the ER they found out it was Whooping cough.
It's not that bad, I dont have any of the symptoms either.