Completely missed all files being pushed into the spawn array.
Improved checks.
Removed a big chunk into haxe.io as it is not relevant to what this plugin does.
minor