Fixed PEP warnings and updated Makefile for testpep target.
Disabled some targets temporarly in Makefile.
Fixed some tests in ui.template.