Fix some compile warnings. Improve makefile & log.
Huge improvement in seeking, make it frame level accurate, works perfect now.