added sound library, showText method, other minor changes