The mission to destroy the tracking device on the mother ship just felt really lame. Finn and Rose deduced that the First Order must be tracking them during light speed. What are the chances that these two would figure this out. Then they explained their plan on how they're going to resolve it to Dameron who easily bought into their non-proven idea. The way to disable it is to board the mothership undetected, but in order to bypass all the First Order sensors they would need a code cracker. How will they find one? With the help of Maz. Oh yeah, she also happens to be in the middle of fighting for her own life as she's explaining it to them.
LOL! The code cracker is on a Vegas-like setting where we see a lot of rich folks gambling their money away, money that came from the First Order for weapons (another face-palm worthy moment in the story). Instead, they end up in jail before they could get to the code cracker they were looking for. But wait...there is also a code cracker inside the same cell with them! What are the chances?!
Alas, they were all able to break free and get away on horseback, successfully outrunning law enforcement on their much superior technology driven spacecraft. Thankfully, BB-8 followed the complete stranger, the code cracker (instead of the two people he came there with) and hotwired a get-away ship. Let me insert another one here...