Prev, next functions fixed; EndOfMedia state used instead of onStopped
Many fixes, improvements