0.60 20130704

*some common functions moved to common.php
*style/code fixes
*thickbox feature removed