Use floats instead of ints in math funcs
Minor fixes in dealing with node content

Simple XML has a lot of issues with recursive children, so
figuring out when a node doesn't have another node inside is
a bit flaky.
Make "simple_data" also the default
make allowed_construct_vars protected