Doodle fix
Privatize functions, cache objects, loaded event