Update legal and windows

Accidentally called the same window for both scripts, ui. Updated that
and put in formatting.