fixed a small tab spacing issue on line 135
change congrid minusone flag to be True
made a few error catching tweaks so code doesn't crash on some edge cases, need to create a flag system and better default outs