Added AMC GUI, various bug fixes.