Recreated media UI changes to FormParser (file had been moved in merge).
Some improvements to click handling on media UIs.