Fixed AM/PM hiding + added some debug logging (turned off by default)