Fixed MapNetDBStorage to compile with templates.
Added keys auto-regeneration.
Updated UDPLPD.
Other changes.