Added the getCurrentTransport() function to g_person

I have implemented a getCurrentTransport function. I used the simplest
and most naive method possible, so there may be some 1 frame visual
glitches, but there might not be. If it is a problem I can do a more
serious job of separation the state from parrallel functions.