Fixed so that bubble speed is not dependent on fps

Added Platform Dependent Compilation if's to make it easy to compile for
web

Many fans might need adjustement now