If your working in Frederick, a few nice areas to check.
Keep in mind you will have tax differences and zoning items
Maryland: Though listed as the "FREE STATE" nothing is free as it is listed as one of the top 10 most taxed states in the nation. You have a 4.5% flat income tax, plus a county piggyback that can be as high as 70% of your state or equalling a 7-9% total income tax bite. Utilities are also taxed and rated higher than VA, PA, and WV. Maryland does have the best social services, roadways, and park systems though. Though the taxes are high you do see the difference in sight alone in comparison to the other states.
Towns outside of Frederick and all within 30 minutes with Hagerstown being the furthest.
To the North: Thurmont, Emmitsburg, Libertytown
To the West: Hagerstown, Braddock Heights.
To the South: Jefferson, Brunswick, and Sharpsburg
Property is higher also in Maryland.
Pennsylvania: Pennsylvania will provide the lowest in income tax with a flat 3%. Property tax will be less than Maryland but higher than WV. PA also offers no tax shopping on clothing and food. All other is 6%.
PA to the north will provide Gettysburg (expensive due to the Civil War historical properties) Greencastle and Waynesboro. PA will provide an additional travel time of up to 45 minutes to Greencastle and Waynesboro to Frederick. Gettysburg is not a bad trip but during season can be rather touch and go.
West By God Virginia: You can always tell a native by that term
West Virginia ranks #13 in overall taxation due to the 6.5% income tax, and many hidden taxes such as your annual car tax etc. The only thing is you wonder what the heck they do with the money
Simple, WV is a central government state, it all goes to Charleston to be spread out.
Zoning is your issue here as well. Berkeley County / Martinsburg does not have zoning. It has been voted down time again. In short you can have housing developments piled on land with a two lane tar and chip road getting there. You can have a 400,000 home next to a trailer park. etc., In short, you need to check your development regulations very carefully.
Jefferson has zoning since 2005 and you will see the difference in Charles Town and beautiful Harpers Ferry and Shepherdstown. I remember those towns from years ago. yuck! But now? Darn nice.
Martinsburg itself has issues. You can go to Hedgesville or Falling Waters and be ok, again as long as you double check your development ordinance and GET YOUR HOME INSPECTED. Stay away from downtown. Go there, you will understand. It's a darn shame. So much potential, so much history.
If you go to look, stay at the Holiday Inn in Martinsburg off Viking Way. Very nice hotel. There is also a couple of nice hotel areas off Exit 5 in Halfway Maryland like the Summerfield Suites.
Of all the places I have listed, as long as you stay out of downtown Martinsburg plus Hagersbush (Hagerstown) is having some issues downtown too, you will be ok and safe. Overall compared to many areas of the nation (Atlanta for example) crime in all areas listed is rather nil.
Good Luck, feel free to ask if you have any further questions.