Implemented "Effects" system, some bugfixes.