(lib) Clean display flags usage
(display) Add a new native method
(source) Native function source_getNbLoop() is restored