code can now handle 0 resource requests
added some error displays
may have fixed the focus issue on phone