If you're getting fired for repeated attempts to do your job more effectively, then you definitely have a lawsuit on your hands. Don't just take that crap.
I never listen to someone's story that got fired. Every person we've fired at my job had a valid reason and they always try to act like they did nothing wrong.