implemented smart brick selection
disabling of not selectable bricks implemented
small fixes