Perhaps over time this basic meaning changes to 'I am doing something indefinitely' and therefore gets reanalyzed as a habitual tense marker meaning 'to do something regularly or as a general truth'. In the past tense, it would start out with a literal meaning of 'I stand finishing doing something' which may be
How to Make a Language - Part 7: Grammatical Evolution