Fix picture upload bug
Ignore sublime text files
Fix minor errors