bugs
fix the problems getting refresh to work on dreamhost server

Dreamhost has PHP 5.2.  That doesn't support datetime sub.
Also, using datetime::modify acts weird and so you can't apply format to
it.
Switched to the old way of doing this to save hassle.