Added Text3D and fixed bug if no beams are loaded