Fixed some bugs and added new coin types.