Added userTimingHandler option and refactored handler options checking and setting