As far as solutions -
@SQ8 probably has it correct - it will take a bloody and violent revolution to purge Pakistan from the parasites that have taken hold of it, and the Army and Establishment Elite know that, hence the 'periodic pressure release points'.
Before the PTI, the Army hid behind the 'oh, these dynastic politicians running the major political parties are corrupt and incompetent, we are your savior'. Well, whether the PTI was helped into winning or prevented from winning big in 2018 - that victory introduced a new third national political party into domestic power dynamics that took away the excuse the Army hid behind. The hope here is that Imran Khan chooses to play the long game and continues to leverage social media to get his message out.
Imran Khan may not be the best candidate for Prime Minister by any means, but he has become the most influential and important public leader since Bhutto (if not Jinnah) who can rally public sentiment in favor of a movement for genuine democracy free from the influence of the Army elite.