Bug fix

- Corrected Bndary_Ice
- Implemented a "global debug" variable if 0, no debug info will be
printed.