Display all scripting code of window and template components

Most of the code should still be valid, you'll just have to extract the resources from the project differently. Some reference points to start from: