(a) Bug failing to pass array by ref fixed (b) XHTML compliance (w3 validtor)