Made months display correctly (1-12 rather than 0-11) and fixed bugs