Minor bugfixes and suppressed erroneous compiler warnings