AM/PM, IE and other fixes