google docs api ready, fixing bugs in UI