pressing space now reports last added word correctly. There still is a bug, but well fix this later