added nullable decimal, fixed some errant sql emitters recently broken