-added a safer debug buffer output method -added ability to specify precsion for floating point conversion