Does the privilege set have Executable access to scripts? Are there any scripts defined with the Include in menu box checked?
"Also, is there a way to restrict a given window to only show a certain layout ?" - If you take away the status area, and the Go To Layout commands from the View menu, then yes, in a way you can restrict a window to a certain layout. Though, depending on your situation, you might want to create a separate 1-layout database, with the layout based on the database that contains the actual data, to truly acheive a single window/layout solution.