Fixed multiple munir bugs and types. Improved type conversion algorithm.