Remove dependency from window to project.
Simplify signal connection and fix warning on first opened buffer.

 * Remove srcfocus_changed signal and instead use property notification signal.