fixed uglifier bugs + add to queue bug

merging bug fixes in stable to master