updated to 0.4.2

Lots of bug fixes.