Cleaned up code + doesn't crash on load

Updated mixpanel, deleted imagemagick