Updated indenting.
Made plugin slightly more responsive.