Small fixes.
Adds method to call when visual updates are done.

Allows the subclass to extract the paint/style heavy operations into
a call that is save to assume will not hurt performance. Also includes small
style ans lint fixes.