GetDirection() fixed, test ui added