added a test to draw normal map with better visualization.
restored history drawing in xy mode. made sizes of z-sensitive dots the same in different views.