Logs and switching fragments

Works on #12 ; could not reproduce problems with switching fragments, updated logs to be more accurate/detailed