faster thumbnail system and bug fixes