Multithreading, fixed photos, bug fixes