Minor bugs fixed. Design improved.