Basic on and off duty logging working along with more UI improvements