add sanitization stuff (tested) + add a small check to timestamps
Merge pull request #13 from remotezygote/sanitization

add sanitization stuff (tested) + add a small check to timestamps