Microsoft has like the most bugs T-Squad.. well windows had over 5,000 bugs itself.. and most of them are still not corrected. And about security holes , microsoft wins again. Go look at the website u find like 3049304930940934 updates for security holes..
Its not easy to make things that are not hackable since you dont think when youre making something about every different possible way a person can use the program and it can crash/bug out and crap like that..