3D DataTemplate working + Release mode support

A lot of dummy and useless code. Don't know if it will be useful. Will
be deleted in next commit