Clarify comment for OBJECT mode recovery
Move handlers variable further for better perf
Move constants earlier for clarity and add opt variable
Correct input_length for preindent scenario