If you can manage it find an event on our local steel drum bands schedule and join the party! There always lots of cruisers around mixin' with the locals....as well as assorted tourist types, but it is always lots of fun...
http://www.flashinthepans.org/events.html
If the 4th finds you in the northern end of Penobscot bay Searsport has fireworks...though the anchorage leaves alot to be desired......very exposed to S/SW.....though if it is settled no problems. Belfast is a great town to wander around in, the Belfast Co-operative http://belfast.coop is heaven on earth for organic and locally grown produce, some great restaraunts and a micro brewery with some great offerings..... http://www.marshallwharf.com and http://www.3tides.com/