Some fixes, and added activity log file

Signed-off-by: Ravn T-M <ravn.tm@gmail.com>