added forgotten newline, removed some includes
added some debug information about currently viewed pixel

also corrected precision to match