Great analysis and generally a good read.
However, to simplify, I think the biggest lesson learned is:
When you create a product at a company and use the company's resources, the IP belongs to the company. If you're going branch out and work on a related product, you better understand the legal issues first.
Also, stealing is bad.