Fix memleak (release pViewElements on shutdown). Add disabled AA code.