Fix get_var
Add get_period_selection_form()
Delete obsolete files
Fix sidebar links
Fix get_option function call