Fixed Git Issue 38, unable to change module type
Fixed bug #40
Fixed bug #41
Fixed saving bug