allow install when only oracle is available
add debug output
use to_char only for oracle, whitespace
cleanup codestyle