Fix #119: Fixes unexpected errors at end of program
Merge branch 'develop' of https://github.com/KSP-KOS/KOS into develop