Added hook.before / hook.after for convenient function wrapping.
Caret improvements + fluid width support for optgroup_columns + bugfixes + cleanup.
Released 0.5.2.