Wall cracks

Inspected a 30 year old townhouse today and found these cracks. Horizontal cracks on each side of the window and cracks down the corner of the wall. The wall on the right is the wall between two units… I also noted moisture stains on the ceiling above the window. There was no access to the attic unfortunately. No problem with doors or windows opening/closing. I also noted vertical crack above a door near this window. I do not believe it is a serious issue but wanted to get other opinions.