Bugfixes and first daemon process