Yes, right on with mindfulness! It's tough sometimes to cut your losses when you realize that you're constantly being distracted. A few hours of deep flow is so much better off than a day where you keep find yorself drifting.
And thank you for the tips! I'll go ahead and work on the formatting for sure. :)