For the majority of the country's 68 million people, the king was a pillar of stability in rapidly changing times - Thailand embraced industrialization during his reign but also saw its parliamentary democracy punctuated by 10 military coups, the most recent in May 2014.