big rewrites for fixes and improvements on the automatic timezone configuration
