Feeling lonely really sucks, and you have been through a loss. It is just going to take time to heal. I really struggle with loneliness myself; I have been the type of person to always have a BF. Left one and moved on to the next—often before the first relationship was completely over. I always said, after each breakup that I would give myself time to be alone, but never really did- probably another reason why my son is so screwed up, who knows.
it sounds to me like at least you are on the rigth track
hugs