fixed piece replacement & very basic gui