Fixed small bug in SoundFile.cpp (not using filepath system)

Made fontmanager using shared_ptr.