imgviewer now works for hardcoded data, some flaws noticed in display.c fixed