Small fixes

 * initialize SQL connection before plugins
 * skip also emtpy or whitespace request attributes