gas in oil and in air filter. need advice on what to do!

so i have noticed that it looks like theres gas in the oil tank, now mixed all in with the oil. the oil has lots of small bubbles and is clearly not as thick as it should be.

theres also some gas in the air filter and air box. oil leaks all over my motor and i have no idea where its coming from ever, and i also cant get rid of a ticking sound. it smokes from the header to, alot.

please give me some advice on what to do before my 400ex blows up!!! i tried the float needle theres nothing wrong with it.

its a 2004 400ex.