Made refreshTagList smarter (no need to make AJAX request for tags if there is no element on screen to hold the resulting list).
Progress on style fixes.
Style fixes.
Added global declarations.
Added global declarations.
Fixed bug: "from" date could be set higher than max.
Style fixes.