Some optimization at object pooling, tinkering at beams.dm and reverting useless code.