turned on all compiler warnings; fixed warnings