Decided not to use Piece.isCurrent

Instead using dedicated var in main file, also set up some other
vars which will be used eventually.