Various minor bug fixes.

Signed-off-by: Min Chen <minchnew@gmail.com>
Move the auto refresh checkbox to the Basic tab.

Signed-off-by: Min Chen <minchnew@gmail.com>