Fixed multiple instances of giraffe

Makes giraffe less retarded and fixes bug where multiple instances of giraffe could be created.