added grapping getting current fram number from guiObj