Fix revert flight after syntax error in boot file.  Add terminal window open close bindings

What if i make it a structure with Open, Close, IsOpen methods and when you wish you can extend it and bring more functionality to it?