Merged BensDerp's mobile.c with the good files