Switch glsl renderer to nearest and work on hqscale shader

Some progress on bug 415.