Fixed memory leak in PolycodePlayer.
Unified script loading in PolycodePlayer.
Minor fix to PolycodePlayer.
Merge branch 'PolycodePlayer-cleanup' of https://github.com/christopherreed/Polycode into pullreq_testing