started documenting code; added a devlog box;

started documenting code; added a devlog box for easier debugging and
also to see the