minor stability fixes / screenorientation