Fixed formatting.
Added polling interval selection.