Logs and switching fragments

Works on #12 ; could not reproduce switching fragments bug. More detailed/accurate logs