Some refactoring
Removed obsolete fullscreen attribute from permissions
Some preparations for presentation settings modal