Bug fixes

bug fixes, error reporting improvements, time choosing updates