small cleanup in particle code, work on camera scale