Autoindent.
Move logically-related bits of code closer to each other.
Disable refresh timer because it screws up tag display.