Fix many bugs, use vitual time
More updates; this is pretty good.