Install gdebi in make install to install package
Bugfixes and code cleanup