Fixed problem that prevented to correctly show the peers listing, if repositories listing was empty at the same time, into the network panel. Updated the style of auto-executing functions and put all variables instantiation on top in all controllers.