@malwaretech This is why I have a strict hierarchy in mind when the conversation about bankruptcy comes up.

Paid back/off in this order:
Customers
Non-executive employees
Other creditors
Shareholders
Executive employees

No bonuses or other compensation can be an exception. The people who explicitly took the risks should be the ones most likely to lose when things go South.