Fixed many bugs, bootstraped forms etc.