Fix offset assignment in ProfileView
Fix bug in ProfileView

Adjust text width of the profile to be the maximum between the profile
width and the text width
Yet another revert
Revert "Revert previous revert"

This reverts commit 896e70a735db86d4c12cccc424cbfa2b71c2db27.

Conflicts:
	src/CMakeLists.txt
	src/profileview.cpp
Fix errors and implement flags() method in proxy model