! improve whitespace handling

Signed-off-by: Spuds <spuds@spudsdesign.com>
! continue to improve where line ends are added or not

Signed-off-by: Spuds <spuds@spudsdesign.com>
! add null check to the table code to avoid tossing a non property error

Signed-off-by: Spuds <spuds@spudsdesign.com>