some minor changes for KSP 0.90 compatibility.