Removed redundant form declaration on mainpage.