added proper comments to both files, fixed date grabber for monitor