Improved density on-the-fly settings

this commit needed some fixes in the frameworks base to

Signed-off-by: Dragon7780 <Dragon7780@hotmail.nl>