updates to various systems and xml/db calls

Signed-off-by: allan <allan@dev.ke5jro.net>