Fix windoor construction exploit.

Fixes #6043 
Also fixes a similar bug with door assembly (not duplication but getting the finish message multiple times if you click more than once)