Fix unspecified EPD and refactor code

Fix: unspecified EPD defaults to starting position instead of crashing.
Change: refactor formatting variables.
Change: refactor String.Empty to "" for conciseness.