Bugfix default settings and daytime calculation