Fixed infinite scrolling. Not sure I didn't break something in the process. Closes #33
Fixed temporary directory creation