You've missed town hall.
Entrance is here. After talking to the man outside the inn, you need to talk to a man in the back office to trigger Maya.
Also, do you see those grates in the apartments? They lead to underground tunnels where you can find your way into abandoned apartments (in one case, not so abandoned), and get loot. Also, you'll find that the grate in the castle leads to an underground sewer. Finally, I'll get on fixing the apparent bugs you found.