Refactor program startup logic.
0.1.88