Fixed some minor bugs: was crashing when pictures folder was empty...