Some small fixes to the connection lib and config page. The start of the mapping form