F28: Refactor components.

Also done:
F16: Improve components ierarchy.
#5 Edit's cursor isn't setted to the last position when opening window
with text in edit

Fixes #5