script parsing and typing improved: swing scripts compile (?)