magit autoclose buffer after commit
some cleanups