more bug fixes for iPhone app

Signed-off-by: FellowTraveler <F3llowTraveler@gmail.com>