cleaning, bugfix, linux compilation and more
checkmate patches applied