minor optimization to SetPinDigital and added some code to the FatalError OS function.
tweaked games for input testing