Added a tickPlugins method.
Added Log Function.