readDatabase: add possibility to use propriatary load functions
readDatabase: improve calling of proprietory database readers

now working

also fix some rendundant error checking

also add feature to use database params for all channels if the
databaseParams struct is array of size 1