screen dimensions now accounted for by reading the screen width in pixels from the file .screenwidth in the home directory