Wrench the engineer will gladly fix your ship, upgrade it, or attach weapons... For a price of course
A battle scene
Not a good situation to be in, but certainly not inescapable.
The final level: you must destroy your enemies' moon base. Here is also an excellent opportunity to use the death ray (as shown here)