Added particles visualization method. Code rafactoring, minor hacks.