User the right mod mask
Handle amount of indent when backward checks endup with }
Connect after to event_after so we do not collide with the stripper plugin
Do not make it a user action so we do not interfere with the undo manager