Apparently smartindent isn't so smart after all.

This fixes the INCREDIBLY annoying behavior in .py files where inserting a # de-indents it.
Auto-reselect during indent/deindent.