Fixed para handling bug.
Removed unwanted code.
Sane $stack handling.