The less than 80 shots mission on the last boss is frustratingly slow. Not to mention the annoyance of almost finishing it and getting stuck in a respawn loop with the boss blocking the path.
Finally got the badge with a flip + up n out in the air, then finishing with an endo (wheelie). It took me a few tries of this exact combination for the badge to trigger.
The medium badge still gets awarded despite the crash at the end of level 39. If you haven't allowed the storage of save files on your computer, then you need to go through the whole game without skipping a level, else you risk losing your progress when you refresh after the crash. (Refreshing is the only way to access the level you skipped after crashing)
When you lie down you need to leave the room by clicking the ground near the door (footstep cursor). If you click the bed again you wake up and can't see the ghost.