some cleanup. better stripslashes. better timestamps.
merged