Hi @FlavioDiniz,
thanks for providing more information on the issue.
Regarding your "Issue 2". I see no reason for the background color (and other properties) to not work in your setup, hence I've created a bug report for that (ITEM#587756). Thanks for reporting the issues you face during your development.
We are happy to handle your "Issue 1" about "constantly unsaved document" in a separate thread, once you create it yourself.
Cheers,
Ilia