Pipeline execution working with status polling.

Needs to be made prettier. Also fixed a small bug in execute.php