Add Debug variable for debugging.
Fixed double slash open's. e.g. Open("//file.ext")