Add timestamps to all debug messages, as well as create assert function ...

...to validate things at runtime