Created "debug" command

Prints messages to the console output only when the app is set to DEBUG
mode.
pagebreak tag and debug output

- Created [pagebreak] tag for breaking pages within a text box
- Printed debug info switched to debug command