fix problem with entry grid width alloc calculation; add first pass at support for screen rotation