Default digital/analog pin state - input or output? (do unused pins need to be grounded to prevent floating inputs)

Setting an unused pin to output if not needed is, in my opinion, dangerous. If you short the pin by accident, you can damage it.

If you don't want them to float, use INPUT_PULLUP. Else leave them.