Do a dummy serout in your initialization routine before you start reading/writing to the screen
Simply DEBUG 0 should do it. I've seen this issue covered earlier, so, it may help to search here. This happens because the DEBUG port is not initialized till first used by DEBUG.