! update to fix timeout issue with hosts that set up mysql with low wait_timeout values
! clean up the code, spacing etc
! remove annoying onclick when submitting the form from the browse screen
! sort and direction were not always saved on a return from a smush.it run

Signed-off-by: spuds <spuds@spudsdesign.com>