add logmodule for easy filtration of particular subcomponent verbosity; fix heartbeat, minor bugfixes